package com.Server;

import java.util.Vector;

public class UserList {

	private static Vector<String> vector=new Vector<String>();
	
	public static boolean addUser(String username){
		if(username!=null){
			UserList.getList().add(username);
			return true;
		}else{
			return false;
		} 
	}
	
	public static Vector<String> getList(){
		return vector;
	}
	
	public static void removeUser(String username){
		if(username!=null){
			UserList.getList().removeElement(username);
		}
	}
}
